<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html >
<html>
<head>
<meta charset="UTF-8">
<base href="./">
<link rel="stylesheet" href="libs/css/edit.css">
</head>
<body>
	
	<form action="CheckIn"  method="post">
			<input type="hidden" name="cmd" value="insert">
		<div class="inputview">		
		
		<span class="inputspan"> 
		<label class="inputtext">房间:</label> 
		<select name="room_id" class="inputselect">
			<c:forEach items="${roomlist}" var="s" >
				<c:if test="${info.room_id!=s.id}">
					<option value="${s.id}">${s.name}</option>
				</c:if>
				<c:if test="${info.room_id==s.id}">
					<option value="${s.id}" selected="selected">${s.name}</option>
				</c:if>
			</c:forEach>
		</select>	
		</span>
		
		<span class="inputspan"> 
			<label class="inputtext">预计时间:</label> 
			<input type="date" class="inputinput" name="exitdate">
		</span>
		
		<span class="inputspan"> 
			<label class="inputtext">预付金额:</label> 
			<input type="number" class="inputdate" name="yamount">
		</span>
		
		<span class="inputspan"> 
			<label class="inputtext">备注:</label> 
			<input class="inputinput" name="comments">
		</span>
		</div>
		
		<div class="inputbtpanel">
			<button class="seachbt1" type="submit" >保存</button>
		</div>
	</form>
	
</body>
</html>